package createpattern.factory.abstractfactory;

import createpattern.factory.abstractfactory.product.AmericanoCoffee;
import createpattern.factory.abstractfactory.product.Coffee;
import createpattern.factory.abstractfactory.product.Dessert;
import createpattern.factory.abstractfactory.product.MatchaMousseDessert;
/**
 * 具体工厂-美式咖啡和甜点工厂
 * */
public class AmericanDessertFactory implements DessertFactory{
    @Override
    public Coffee createCoffee() {
        return new AmericanoCoffee();
    }

    @Override
    public Dessert createDessert() {
        return new MatchaMousseDessert();
    }
}
